# coding:utf-8

from wtforms import IntegerField
from wtforms.validators import Optional

from app.forms import WphForm, NonValidatingSelectField


class PublishDemandLogForm(WphForm):
    admin_id = NonValidatingSelectField('发布者', validators=[Optional()], coerce=int)
    demand_id = IntegerField('需求ID', validators=[Optional()])
